package com.zlf.blog.dao.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @author zlfi1
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="comment对象", description="评论")
public class CommentVo {
    private static final long serialVersionUID = 1L;
    private String id;
    private String content;
    private String createDate;
    private String articleId;
    private String authorId;
    private String parentId;
    private String toUid;
    private String level;
    private String toComment;
    private String commentUser;
    private String nickname;
    @ApiModelProperty(value = "回复列表")
    @TableField(exist = false)
    private List<CommentVo> reply;

}
